package gh0st.net;

public enum Downstream {

    PING(0, 0),
    UPDATE(1, -1),
    MESSAGE(2, -2);

    private int opcode;
    private int length;

    private Downstream(int opcode, int length) {
        this.opcode = opcode;
        this.length = length;
    }

    public int getOpcode() {
        return opcode;
    }

    public int getLength() {
        return length;
    }

}
